package Util;
import java.io.File;
public class createPathName {
    /*
    创建目录
     */
    public boolean create(String Filename) {
        File file = new File(Filename);
        if (file.exists()) {
            return false;
        }
        if (!Filename.endsWith(File.separator)) {
            Filename = Filename + File.separator;
        }
        if (file.mkdir()) {
            return true;
        }
        else {
            return false;
        }
    }
}
